home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Hyper / B / Bioess HC stack.cpt / bio_ess HC stack / stack_-1.xml < prev    next >
Extensible Markup Language  |  1992-09-30  |  3KB  |  26 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
  3. <stack>
  4.     <name>in</name>
  5.     <id>-1</id>
  6.     <cardCount>7</cardCount>
  7.     <cardID>2957</cardID>
  8.     <listID>4894</listID>
  9.     <cantModify><false /></cantModify>
  10.     <cantDelete><false /></cantDelete>
  11.     <cantAbort><false /></cantAbort>
  12.     <cardSize>
  13.         <width>512</width>
  14.         <height>342</height>
  15.     </cardSize>
  16.     <script>on openStackglobal ScrollDownX, ScrollDownYglobal MaxGenerations, PrintEveryGenerationglobal CardWasDeletedput cd field MaxField of cd SetOptions into MaxGenerationsput cd field PrintEveryField of cd SetOptions into PrintEveryGenerationput false into CardWasDeleted-- set coordinates for click on Scroll Down arrow-- of background field "ResultsList"-- used by bg handler "PrintLine":put item 3 to 4 of rect of bg field "ResultsList" into ScrollDownLocput item 1 of ScrollDownLoc-4 into ScrollDownXput item 2 of ScrollDownLoc-4 into ScrollDownYglobal NoNumberField-- for validation of entries in text fields-- NoNumberField = empty: default is "no field caused error"put empty into NoNumberFieldend openStackon NewCardlock screengo to previous cardput the number of card fields into NumberOfFieldsrepeat with FieldID=1 to NumberOfFieldsselect card field FieldIDdoMenu "Copy Field"go next carddoMenu "Paste Field"go previous cardend repeatchoose browse toolrepeat with FieldID=1 to NumberOfFieldsput card field FieldID into card field FieldID of next cardend repeatput the number of bg fields into NumberOfFieldsrepeat with FieldID=1 to NumberOfFieldsput bg field FieldID into bg field FieldID of next cardend repeat-- copy card script only AFTER all fields are copiedget the script of this card -- into CardScriptput it into CardScriptgo to next cardset script of this card to CardScript-- mark as new copy of a card:put empty into bg field "ResultsList"put "[COPY]" into word 1 of bg field "TitleOfGame"-- in 1st word instead of e.g. "after":-- to avoid having the word on the second, i.e. invisible lineset cantDelete of this card to falseunlock screenend NewCardon deleteCardglobal CardWasDeletedput true into CardWasDeletedpass deleteCardend deleteCard</script>
  17.     <background id="2799" file="background_2799.xml" name="" />
  18.     <card id="2957" file="card_2957.xml" marked="false" name="HawkDove" owner="2799" />
  19.     <card id="4562" file="card_4562.xml" marked="false" name="MajorMinorDove" owner="2799" />
  20.     <card id="5607" file="card_5607.xml" marked="false" name="HawkDoveRetaliator" owner="2799" />
  21.     <card id="4837" file="card_4837.xml" marked="false" name="HawkDoveObsRetaliator" owner="2799" />
  22.     <card id="6601" file="card_6601.xml" marked="false" name="JacksHooknoses" owner="2799" />
  23.     <card id="3949" file="card_3949.xml" marked="false" name="DrawGraph" owner="2799" />
  24.     <card id="2448" file="card_2448.xml" marked="false" name="SetOptions" owner="2799" />
  25. </stack>
  26.